package com.situ.gym.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.situ.gym.pojo.Reserve;
import com.baomidou.mybatisplus.extension.service.IService;
import com.situ.gym.pojo.query.ReserveQuery;
import com.situ.gym.pojo.vo.DayCountVO;
import com.situ.gym.pojo.vo.ReserveVO;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Guan
 * @since 2025-08-28
 */
public interface IReserveService extends IService<Reserve> {

    void deleteAll(Integer[] ids);

    IPage<ReserveVO> list(ReserveQuery reserveQuery);

    List<DayCountVO> selectReserveCount(Date date);

    IPage<ReserveVO> listByUserId(ReserveQuery reserveQuery);

}
